package com.xindacloud.sms.console.system.dto;

import com.xindacloud.sms.console.system.dto.common.PageDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SmsProjectDTO extends PageDTO implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 6683147692659162246L;
    // private Integer id;
    private String projectId;
    private Integer createUserId;
    /**
     * 项目名称
     */
    private String smsProjectName;

    /**
     * 用于发送SMS
     */
    private String password;

    /**
     * 秘钥
     */
    private String token;

    /**
     * 通道类型sms,voice
     */
    private String channelType;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 回调URL
     */
    private String callBack;


    List<SmsProjectMembers> projectMembersList;


    @Data
    public static class SmsProjectMembers {
        String projectMemberId;
        String projectId;
        Integer userId;
    }

}
